//
//  PersonalInfoCell.m
//  Cunli
//
//  Created by lilubin on 15/6/30.
//  Copyright (c) 2015年 lilubin. All rights reserved.
//

#import "PersonalInfoCell.h"
#import "UIColor+expanded.h"

@interface PersonalInfoCell ()
@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UILabel *contentLabel;

@end

@implementation PersonalInfoCell

- (void)awakeFromNib {
}

- (void)layoutSubviews
{
    [super layoutSubviews];
    
    _contentLabel.hidden = NO;
    
    _titleLabel.text = _title;
    [_contentLabel setTextColor:[UIColor colorWithHexString:@"0x777777"]];
    
    if (_content.length == 0)
    {
        _contentLabel.hidden = YES;
    }
    else
    {
        _contentLabel.text = _content;
    }
}

@end
